package com.shop.cereshop.commons.tencent.im.model.callback.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cereshop.commons.tencent.im.model.msg.element.TIMMsgElement;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @description: 发单聊消息之前回调 响应体
 * 可以包含修改后的消息体或自定义数据
 *
 * @author zdd
 * @date 2025/9/11 10:01
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BeforeSendMsgCallbackResponse extends CallbackResponse {

    /**
     * App 变动之后的消息体
     */
    @JsonProperty("MsgBody")
    private List<TIMMsgElement> msgBody;

    /**
     * App 变动之后的消息自定义数据
     */
    @JsonProperty("CloudCustomData")
    private String cloudCustomData;

}
